home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CUCD / Programming / OUI / include / gadgets / rcs / button.h next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  1.3 KB  |  87 lines

  1. head    1.2;
  2. access;
  3. symbols;
  4. locks
  5.     dlorre:1.2; strict;
  6. comment    @ * @;
  7.  
  8.  
  9. 1.2
  10. date    97.07.14.04.26.11;    author dlorre;    state Exp;
  11. branches;
  12. next    1.1;
  13.  
  14. 1.1
  15. date    96.08.22.02.06.07;    author dlorre;    state Exp;
  16. branches;
  17. next    ;
  18.  
  19.  
  20. desc
  21. @Oui.lib -- Object User Interface
  22. Projet créé en 1994
  23. Auteur: Dominique Lorre
  24. @
  25.  
  26.  
  27. 1.2
  28. log
  29. @*** empty log message ***
  30. @
  31. text
  32. @#ifndef CLASS_BUTTON_H
  33. #define CLASS_BUTTON_H
  34.  
  35. #ifndef EXEC_TYPES_H
  36. #include <exec/types.h>
  37. #endif
  38.  
  39. #ifndef CLASS_WINDOW_H
  40. class window ;
  41. #endif
  42.  
  43. #ifndef CLASS_GADGETLIST_H
  44. class gadgetlist ;
  45. #endif
  46.  
  47. #ifndef CLASS_GADGET_H
  48. #include "gadgets/gadget.h"
  49. #endif
  50.  
  51. #ifndef CLASS_SLIST_H
  52. class slist ;
  53. class slink ;
  54. #endif
  55.  
  56. // ========================================================================
  57. // ==========================  BUTTON CLASS ===============================
  58. // ========================================================================
  59.  
  60. class button : public gadget
  61. {
  62.     STRPTR text ;
  63. public:
  64.     button(gadgetlist *gl,
  65.            void (window::*func)(gadget *, unsigned long, unsigned short),
  66.            const char *t) ;
  67.     button(gadgetlist *gl,
  68.            void (window::*func)(gadget *, unsigned long, unsigned short),
  69.            const char *t, BOOL def) ;
  70. };
  71. #endif
  72. @
  73.  
  74.  
  75. 1.1
  76. log
  77. @Initial revision
  78. @
  79. text
  80. @d35 1
  81. a35 1
  82.            STRPTR t) ;
  83. d38 1
  84. a38 1
  85.            STRPTR t, BOOL def) ;
  86. @
  87.